{{#d-modal modalClass=modalClass title=title}}
  <div class="modal-outer-container">
    <div class="modal-middle-container">
      <div class="modal-inner-container">
        <div class="modal-header">
          <a class="close" {{action "closeModal"}}>{{fa-icon "times"}}</a>
          <h3>{{title}}</h3>
          <div class="clearfix"></div>
        </div>
        <div id='modal-alert'></div>
        {{outlet "modalBody"}}
        {{#each errors as |error|}}
          <div class="alert alert-error">
            <button class="close" data-dismiss="alert">×</button>
            {{error}}
          </div>
        {{/each}}
      </div>
    </div>
  </div>
{{/d-modal}}
